package com.cian.service;

import com.cian.entity.Account;
import com.cian.entity.Subsystem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cian.entity.dto.SubsystemForStockDTO;
import com.cian.entity.dto.WebLinkDTO;
import com.cian.utils.CreateCodeUtils;

import java.util.List;

/**
 * <p>
 *  子服务器服务类
 * </p>
 *
 * @author Cian
 * @since 2021-03-04
 */
public interface ISubsystemService extends IService<Subsystem> {
    public String createSubSystem(Subsystem subsystem, CreateCodeUtils methods);
    public List<WebLinkDTO> selectByServeAccount(String serveAccount);
    public List<SubsystemForStockDTO> selectByServeForStock(String serveAccount);
    public Subsystem selectByServerCode(String serverCode);
}
